package Model;

public class Stu {
    private Integer id;
    private String name;
    private String sex;
    private Integer age;
    private String tel;
    private String scores;
    private String school;


    public Stu() {
    }

    public Stu(Integer id, String name, String sex, Integer age, String tel, String scores, String school) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.tel = tel;
        this.scores = scores;
        this.school = school;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return sex
     */
    public String getSex() {
        return sex;
    }

    /**
     * 设置
     * @param sex
     */
    public void setSex(String sex) {
        this.sex = sex;
    }

    /**
     * 获取
     * @return age
     */
    public Integer getAge() {
        return age;
    }

    /**
     * 设置
     * @param age
     */
    public void setAge(Integer age) {
        this.age = age;
    }

    /**
     * 获取
     * @return tel
     */
    public String getTel() {
        return tel;
    }

    /**
     * 设置
     * @param tel
     */
    public void setTel(String tel) {
        this.tel = tel;
    }

    /**
     * 获取
     * @return scores
     */
    public String getScores() {
        return scores;
    }

    /**
     * 设置
     * @param scores
     */
    public void setScores(String scores) {
        this.scores = scores;
    }

    /**
     * 获取
     * @return school
     */
    public String getSchool() {
        return school;
    }

    /**
     * 设置
     * @param school
     */
    public void setSchool(String school) {
        this.school = school;
    }

    public String toString() {
        return "Stu{id = " + id + ", name = " + name + ", sex = " + sex + ", age = " + age + ", tel = " + tel + ", scores = " + scores + ", school = " + school + "}";
    }
}
